{require_min_otp_vsn, "18"}.

{erl_opts, [
  debug_info,

  warn_unused_vars,
  warn_shadow_vars,
  warn_unused_import,

  {platform_define, "^[0-9]+", namespaced_dicts},
  {platform_define, "^(19|2)", rand_only},
  {platform_define, "^(R|1|20)", fun_stacktrace}
 ]
}.

{deps, [
]}.

{pre_hooks, [
  {"(linux|darwin|solaris)", compile, "make -C c_src"},
  {"(freebsd)", compile, "gmake -C c_src"}
]}.

{post_hooks, [
  {"(linux|darwin|solaris)", clean, "make -C c_src clean"},
  {"(freebsd)", clean, "gmake -C c_src clean"}
]}.

{profiles, [
    {test, [
        {deps, [
        ]},

        {eunit_opts, [
            verbose
        ]},

        {xref_checks, [
            undefined_function_calls,
            locals_not_used,
            deprecated_function_calls
        ]},

        {xref_ignores, [
        ]},

        {dialyzer, [
          {warnings, [
              no_unused
          ]}
        ]}

    ]}
]}.

